﻿namespace Babylon.Toolbox.ModelBuilding
{
    public class MeshPartContent
    {
        private readonly MeshContent _parent;

        public MeshPartContent(MeshContent parent)
        {
            _parent = parent;
            _parent.Parts.Add(this);
        }


        public MaterialContent Material { get; set; }

        public int PrimitivesCount { get; set; }

        public int NumVertices { get; set; }

        public int StartIndex { get; set; }

        public int MinVertexIndex { get; set; }
    }
}
